<?
  set_include_path('./'.PATH_SEPARATOR.dirname(__FILE__)."/../");
  include_once "../mode/person/friend.php";
  try{
  $rows=tbhelper::produce("friend");
  $db = new db("mysql:host=localhost;dbname=snsnamal","root","kaixin9999");
  //echo get_class($rows);
  //print_r($rows);
  $friendc=new friendc(&$db,5,1);
  //print_r($friendc);
  //$friendc->delete();
   //$friendc->apply();
   //$friendc->setBlack();
   //print("\n");
   //print_r($friendc->getList(friendc::BLACKNAME,0,2));
   //echo $friendc->getListNum(friendc::NOTYPEFRIEND);
   //echo $friendc->state;
    //$friendc->delete();
    //$friendc->focus();
	//$friendc->undoFocus();
	//$friendc->setClass(3);

  }catch(Error $er){
	$er->recode();
  }catch(Exception $er){
	echo $er->getMessage();
}


?>
